home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / C++ AppleLink Messages / CPlus.Dev$ 3⁄16⁄90 / 0081-C++ 1.0b1 bug? | VER-Mar90 < prev    next >
Encoding:
Text File  |  1990-03-16  |  697 b   |  31 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  TIM.SWIHART  to MACDOUGALD1
  2.  
  3. Item forwarded  by  TIM.SWIHART  to GARDNER.P
  4.  
  5. Item    1578136                         15-March-90        17:53PST
  6.  
  7. From:   VERITY                          Verity, Bob Williams,PRT
  8.  
  9. To:     CPLUS.DEV$                      C++ Interest List--Developers
  10.  
  11. Sub:    C++ 1.0b1 bug? | VERITY
  12.  
  13. Hi,
  14.  
  15. If I'm correct in assuming that CFront is not supposed to generate code that
  16. the C compiler will not compile, then the following demonstrates a bug in
  17. CFront 1.0b1, since the illegal assignment is not caught until the C compiler
  18. is invoked.
  19.  
  20. =============================
  21.  
  22. #include <QuickDraw.h>
  23.  
  24. PatPtr  patp;
  25.  
  26. main()
  27. {
  28.     patp = &qd.gray;
  29. }
  30.  
  31.